package com.qingcloud.adminbackend.entity.config;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author luozehua
 * @since 2018-12-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_common_config")
public class SysCommonConfig extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 配置分类，用于配置列表查询
     */
    @ApiModelProperty(value = "配置分类，用于配置列表查询")
    @TableField(value = "`category`")
    private String category;

    /**
     * 配置名称
     */
    @ApiModelProperty(value = "配置名称")
    @TableField(value = "`name`")
    private String name;

    /**
     * 唯一性配置KEY
     */
    @ApiModelProperty(value = "唯一性配置KEY")
    @TableField(value = "`key`")
    private String key;

    /**
     * 配置值
     */
    @ApiModelProperty(value = "0:文本，1:文件")
    @TableField(value = "`value`")
    private String value;

    /**
     *
     */
    @ApiModelProperty(value = "0:文本，1:文件")
    @TableField(value = "`type`")
    private String type;


}
